package com.winsdom.vo.uniformCharge;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PrestoreTypeWithItemsVO {
    @ApiModelProperty(value = "预存类型ID", required = true)
    private String prestoreTypeId;

    @ApiModelProperty(value = "预存类型名称", required = true)
    private String prestoreTypeName;

    @ApiModelProperty(value = "该预存类型下的收费项目列表", required = true)
    private List<ChargeItemVO> chargeItems;

    // 新增字段，用于在查询时临时存储 expenditureId 和 expenditureName
    @ApiModelProperty(value = "费项ID", hidden = true)
    @JsonIgnore
    private Integer expenditureId;

    @ApiModelProperty(value = "费项名称", hidden = true)
    @JsonIgnore
    private String expenditureName;
}
